@charset "utf-8";

*{
    margin: 0;
    padding: 0;
}
//rem换算函数
@function r($px){
    @return ($px/40)*1rem; 
}
#submitSuccess{
    width: 400px;
    height: 100vh;
    background-position: 0% 0%;
    position: absolute;
    left: 55%;
    margin-left: -300px;
    overflow: hidden;
    max-height: 812px;
    background-image: url(../img/luckyDraw/ld_bg.jpg);
    background-size: cover;
     //logo
    #logo{
        width: 100%;
        position: absolute;
        left: 75%;
        top: 5%;
        transform: translateX(-50%);
        img{
            width: 50%;
            top: 8%;
        }
    }
    //中奖提示信息
    #tips{
        margin: 0;
        width: 100%;
        height: 20vh;
        position: absolute;
        top: 25%;
        left: 50%;
        transform: translateX(-50%);
        .divHr{
            border-top: 1px solid white;
            border-bottom: 1px solid white;
            height: 5px;
        }
        .divTips{
            height: r(20);
            font-size: r(10);
            color: white;
            letter-spacing:r(6);
            text-align: center;
            line-height: r(20);
        }
        .divTips2{
            height: r(20);
            font-size: r(6);
            color: white;
            text-align: center;
            margin-top: r(15);
        }
    }
    //邀请好友
    #returnBtn{
        position: absolute;
        left: 50%;
        top: 55%;
        transform: translateX(-50%);
        background-color: rgba(255,0,0,0); 
        border: 1px solid rgb(255,271,159);
        color: rgb(255,271,159);
    }
}



@media (max-width:768px){
    #submitSuccess{
        width:100%;
        left: 0%;
        margin-left: 0px;
        background-size: cover;
    }
    #submitSuccess #tips .divTips{
        height: r(80);
        font-size: r(36);
        color: white;
        letter-spacing:r(24);
        text-align: center;
        line-height: r(80);
    }
    #submitSuccess #tips .divTips2{
        height: r(40);
        font-size: r(24);
        color: white;
        text-align: center;
        margin-top: r(70);
    }
    
}